package com.simtop.service;

import com.simtop.domain.user.Role;
import com.simtop.domain.user.SysUser;

import java.util.Set;

/**
 * @ClassName RoleService
 * @Description TODO
 * @Author lvyongwei
 * @Date 2020-08-19 16:15
 **/
public interface RoleService {

    /**
     * 根据用户信息查询对应得角色信息
     * @param sysUser
     * @return
     */
    public Set<String> getAllRole(SysUser sysUser);

    /**
     * 获取所有角色信息
     * @return
     */
    public Set<Role> selectAllRole();
}
